import {isFunction} from "../utils/helpers";

export default Behavior({
    methods: {
        initTabBarIndex() {
            if (isFunction(this.getTabBar)) { //自定义tabbar
                this.getTabBar().setCurrentPage(`/${this.route}`)
            }
        }
    }
})
